package main.Ontology;

import java.io.Serializable;
import main.KBProcess.Element;

public class DocumentCategoryOntology implements ElementOntology, Serializable, Cloneable {
	private String name;
    private String label;
	
	public DocumentCategoryOntology(Element element) {
		this(element.getDocumentCategory());
        if(element != null)
            label = element.getDocumentCategory();
	}
	
	public DocumentCategoryOntology(String name) {
	    this.name = name;
	}
	
	@Override
	public String getName() {
		return this.name;
	}

    @Override
    public String getLabel() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
